package cn.hx.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (UserSchedule)实体类
 *
 * @author makejava
 * @since 2022-11-01 09:51:57
 */
public class UserSchedule implements Serializable {
    private static final long serialVersionUID = 140636629977691579L;
    
    private Integer id;

    @DateTimeFormat(pattern = "YYYY-MM-dd")
    private Date startDate;
    @DateTimeFormat(pattern = "YYYY-MM-dd")
    private Date endDate;
    
    private String position;
    
    private String content;
    
    private Integer userId;
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

}

